<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Type extends Model
{
    protected  $guarded = ["id"];

    // 一对多关联关系
    public function venues()
    {
        return $this->hasMany('App\Venue');
    }
}

